package org.dcc.order;

import org.dcc.api.IOrderService;
import org.dcc.api.dto.OrderDTO;
import org.springframework.stereotype.Component;

@Component
public class OrderServiceImpl implements IOrderService {

    @Override
    public String getOrder(int id) {
        return "order id  " + id;
    }

    @Override
    public int insertOrder(OrderDTO orderDTO) {
        System.out.println("insert successfully ");
        return 1;
    }
}
